package com.xydtech.ecard.ecard.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 个人客户基本信息对象 ecard_client_info
 * 
 * @author xydtech
 * @date 2024-05-21
 */
public class EcardClientInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户编号 */
    private Long id;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String cname;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNum;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String cardNum;

    /** 地址 */
    @Excel(name = "地址")
    private String aAddress;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 身份证头像面 */
    @Excel(name = "身份证头像面")
    private String headUrl;

    /** 身份证国徽面 */
    @Excel(name = "身份证国徽面")
    private String badgeUrl;

    /** 客户经理 */
    @Excel(name = "客户经理")
    private Long userId;

    /** 归属机构 */
    @Excel(name = "归属机构")
    private Long deptId;

    public void setId(Long  id)
    {
        this.id = id;
    }

    public Long  getId()
    {
        return id;
    }
    public void setCname(String cname) 
    {
        this.cname = cname;
    }

    public String getCname() 
    {
        return cname;
    }
    public void setPhoneNum(String phoneNum) 
    {
        this.phoneNum = phoneNum;
    }

    public String getPhoneNum() 
    {
        return phoneNum;
    }
    public void setCardNum(String cardNum) 
    {
        this.cardNum = cardNum;
    }

    public String getCardNum() 
    {
        return cardNum;
    }
    public void setaAddress(String aAddress) 
    {
        this.aAddress = aAddress;
    }

    public String getaAddress() 
    {
        return aAddress;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setHeadUrl(String headUrl) 
    {
        this.headUrl = headUrl;
    }

    public String getHeadUrl() 
    {
        return headUrl;
    }
    public void setBadgeUrl(String badgeUrl) 
    {
        this.badgeUrl = badgeUrl;
    }

    public String getBadgeUrl() 
    {
        return badgeUrl;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cname", getCname())
            .append("phoneNum", getPhoneNum())
            .append("cardNum", getCardNum())
            .append("aAddress", getaAddress())
            .append("sex", getSex())
            .append("headUrl", getHeadUrl())
            .append("badgeUrl", getBadgeUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .toString();
    }
}
